<%--
  Created by IntelliJ IDEA.
  User: fhy
  Date: 2020/6/20
  Time: 11:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../updategame/css/updategame.css">
    <link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css">
    <meta http-equiv="Content-Type" content="multipart/form-data; charset=utf-8" />
</head>
<body class="container">
<div class="bottom">
    <p><font  color=#2D93CA size=6px>更新游戏</font></p>
    <form class="table table-bordered" id = "game" style="background-color: #1B3D53; color: #2D93CA;" action="#" enctype="multipart/form-data">
        <div style="margin-left: 100px">
        <p hidden>游戏id：<input type="text" name="gameId" value=${game.gameId}></p><br><br>
            <p>游戏名称：&nbsp;&nbsp;<input type="text" name="gameName" size="30" value=${game.gameName}></p><br>
            <p>游戏价格：&nbsp;&nbsp;<input type="text"  onkeyup="clearNoNum(this)" name="gamePrice"  size="10" value=${game.gamePrice}></p><br>
            <p>游戏介绍：&nbsp;&nbsp;<textarea name="gameIntroduction" cols="100" rows="12" wrap="PHYSICAL" style="vertical-align:top">${game.gameIntroduction}</textarea></p><br>
            <p>游戏图片：&nbsp;&nbsp;<input type="file" name="gamePicture" style="float: right;margin-right: 680px"></p><br>
            <p>游戏种类：&nbsp;&nbsp;
                <select name="gtId">
                    <option value="1">休闲</option>
                    <option value="2">体育</option>
                    <option value="3">冒险</option>
                    <option value="4">动作</option>
                    <option value="5">模拟</option>
                    <option value="6">竞速</option>
                    <option value="7">策略</option>
                    <option value="8">角色扮演</option>
                </select></p><br>
        <p hidden>游戏折扣：<input type="text" name="gameDiscount" value=${game.gameDiscount}></p>
        <p>游戏本体：<input type="file" name="gameBody" style="float: right;margin-right: 680px"></p><br>
        <p><input type="button" class="btnv6_blue_hoverfade  btn btn-primary" style="margin-left: 320px" onclick="update()" value="更新游戏"></input>
            <input type="button" value="返回" onclick="window.history.back()" class="btnv6_blue_hoverfade  btn btn-primary" style="margin-left: 50px">
        </p>
        </div>
    </form>
</div>
</div>
</body>
<script src="../jquery/jquery-3.4.1.js"></script>
<script src="../updategame/js/updategame.js"></script>
<script src="../bootstrap/js/bootstrap.min.js"></script>
</html>
